<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  	<title><ui:insert name="title">Default title</ui:insert></title>
  	
  	<h:outputScript library="js" name="util.js" target="head"/>
  	<h:outputScript library="js" name="mascara.js" target="head"/>
  	<script type="text/javascript">
			PrimeFaces.locales['pt_BR'] = {
	    		closeText : 'Fechar',
	    		prevText : 'Anterior',
	    		nextText : 'Próximo',
	    		currentText : 'Hoje',
	    		monthNames : [ 'Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho','Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro' ],
	    		monthNamesShort : [ 'Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago','Set', 'Out', 'Nov', 'Dez' ],
	    		dayNames : [ 'Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta','Sábado' ],
	    		dayNamesShort : [ 'Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb' ],
	    		dayNamesMin : [ 'D', 'S', 'T', 'Q', 'Q', 'S', 'S' ],
	    		weekHeader : 'Semana',
	    		firstDay : 1,
	    		isRTL : false,
	    		showMonthAfterYear : false,
	    		yearSuffix : '',
	    		timeOnlyTitle : 'Só Horas',
	    		timeText : 'Tempo',
	    		hourText : 'Hora',
	    		minuteText : 'Minuto',
	    		secondText : 'Segundo',
	    		ampm : false,
	    		month : 'Mês',
	    		week : 'Semana',
	    		day : 'Dia',
	    		allDayText : 'Todo Dia'
			};
	</script>
  	
  	
  	<h:outputStylesheet library="css" name="estilo.css"/>
  	<style type="text/css">
  		#logotipo_{
  			text-align: right;
  			float: right;
  		}
  		/*body {background-color: #eeeeee; font-size: 12px}*/
  		
  		.ui-layout-north {
        	z-index:20 !important;
            overflow:visible !important;;
        }

        .ui-layout-north .ui-layout-unit-content {
        	overflow:visible !important;
        }
  	</style>
	
</h:head>

<h:body>
	
<p:layout fullPage="true"> 

	<p:layoutUnit  position="north"   resizable="false" closable="false" collapsible="false">
			<div id="titulo">
				<ui:insert name="titulo">Conservare Web</ui:insert>
			</div>
			
			<div id="logo">
				<h:graphicImage library="img" name="logotipo_m.png" />
			</div>
			<h:form>
				<p:menubar autoSubmenuDisplay="true">
	            	<p:submenu label="Listagem">
	                	<p:menuitem value="Usuários" outcome="/admin/usuario.xhtml" />
	                    <p:menuitem value="Funcionários" outcome="/restrito/funcionario.xhtml"/>
	                    <p:menuitem value="Contratos" outcome="/restrito/contrato.xhtml"/>
	                </p:submenu>
				</p:menubar>
			</h:form>
		
	</p:layoutUnit> 

	<p:layoutUnit position="center"> 
    	<div id="subtitulo">
				<ui:insert name="subtitulo">Subtitulo</ui:insert>
		</div>
		<ui:insert name="corpo">
			
 		</ui:insert>
	</p:layoutUnit> 
		
	<p:layoutUnit position="south"> 
		<ui:insert name="rodape">
			<ui:include src="/WEB-INF/comuns/rodape.xhtml"/>  
 		</ui:insert>
	</p:layoutUnit> 
	
	
</p:layout> 

</h:body>

</html>